package cn.javapulzzer.moreclasspluzzle;

class Base {
	public   String className = "Base";
	public static void printStr(){
		System.out.println("BaseTest");
	}
}

class Derived extends Base {
	 int className =  1;

 
	public static void printStr() {
		 System.out.println("Derived Test");
	}
	 
}

public class PrivateMatter {
	public static void main(String[] args) {
		Base b=new Derived();
		System.out.println(new Derived().className);
		System.out.println(b.className);
		b.printStr();
	}
}